package edu.whut.mall.admin.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import edu.whut.mall.admin.model.Resources;
import edu.whut.mall.admin.model.Role;

import java.util.List;

/**
 * Author: smq
 * Unit: D9lab
 * Date: 2021-06-14 15.08
 */
public interface RoleMapper extends BaseMapper<Role> {
    /**
     * 通过管理员id查询对应的角色
     * @param adminId
     * @return
     */
    List<Role> getRoleListByAdminId(Integer adminId);
}
